<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login : <?php echo config_item('project_title');?></title>

<link rel="stylesheet" href="<?php echo config_item('css');?>style.css" type="text/css" />
</head>

<body>
<div id="content-login">

	<h2 class="header-login">Publications - Login </h2>

	<?php

		$attributes = 

			array(

				'class'		=> 'forms',

				'method'	=> 'post',

				'name'		=> 'box-login',

				'id'		=> 'box-login',

				'enctype'	=> 'multipart/form-data'

			);

	?>

	<?php echo form_open('login', $attributes); ?>

		<p>

			<?php $label_attributes = array('class' => 'req'); ?>

			<?php echo form_label('Username', 'username', $label_attributes); ?>

			<br/>

			<?php

				$attributes = 

					array(

						'name'		=> 'username',

						'type'		=> 'text',

						'id'		=> 'username',

						'class'		=> 'required'

					);

			?>

			<?php echo form_input($attributes); ?>									

		</p>

		<p>

			<?php echo form_label('Password', 'password', $label_attributes); ?>

			<br/>

			<?php

				$attributes = 

					array(

						'name'		=> 'password',

						'type'		=> 'password',

						'id'		=> 'password',

						'class'		=> 'required'

					);

			?>

			<?php echo form_input($attributes); ?>

			

		</p>

		<p class="fl">

			<?php

				$attributes =

					array(

						'name'        => 'remember',

						'id'          => 'remember',

						'value'       => '1',

						'checked'     => FALSE

					);				

			?>

			<?php echo form_checkbox($attributes); ?>

			<?php $attributes = array('class' => 'rem'); ?>

			<?php echo form_label('Remember me', 'remember me', $attributes); ?>

		</p>

		<p class="fr">

			<?php

				$attributes = 

					array(

						'name'		=> 'login',

						'id'		=> 'login',

						'class'		=> 'button themed',

						'value'		=> 'Login'

					);

			?>

			<?php echo form_submit($attributes); ?>

		</p>

		<div class="clear"></div>

	<?php echo form_close(); ?>

	<a class="forgot" href="#">Forgot password?</a>

	<?php $this->load->view('inc/message'); ?>

</div>	
</body>
</html>
